package com.zhangx.study.demo.mybatis.annotation;

import com.zhangx.study.demo.mybatis.registrar.MyBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
// 加上这个import spring就能在registrar获取注解值
@Import(MyBeanDefinitionRegistrar.class)
public @interface MyScan {
    String value() default "";
}
